<template>
  <div style="color: yellowgreen;">
    页面组件2
    <input type="text" v-model="msg" />
  </div>
</template>

<script setup>
import { defineOptions, ref } from 'vue';

defineOptions({
  name: 'Page2'
});
const msg = ref('我是页面组件2');
</script>